<template>
    <header>
        <div class="headerbox">
            <div class="g_shop">{{title}}({{tnum}})</div>
            <div class="g_r">
                <span>编辑</span>
                <img src="../../assets/img/xiazai.png" alt="">
            </div>
        </div>
    </header>
</template>
<script type="text/ecmascript-6">
    export default {
        props:["title","tnum"]
    }
</script>

<style scoped>
    header{
        width:100%;
        background-color: white;
        font-size:0.18rem;
        color: #5e5e5e;
    }
    .headerbox{
        display: flex;
        justify-content: space-between;
        padding:0.1rem 0.1rem;
        padding-left:40%;
    }
    .g_r{
        display: flex;
        font-size:0.12rem;
        margin-top:0.1rem;
    }
    .g_r img{
        width:0.18rem;
        height:0.18rem;
        margin-left:0.1rem;
    }

</style>